package com.cloudbroker.bcs.platform.ltb.bizexport.t2.business;

import com.cloudbroker.bcs.common.entity.HSBCPSBackVO;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.base.vo.UserVO;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.user.UserBizService;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.user.back.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.user.vo.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.t2service.business.UserT2BizService;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by tianrui on 2016/7/8.
 */

@Service
public class UserT2 implements UserT2BizService {


    @Resource
    private UserBizService userBizService;

    @Override
    public SendSMSBack funcSMSCodeSend(@ServiceParam("param") SendSMSForm form) {
        return userBizService.funcSendSMS(form);
    }

    @Override
    public UserLoginBack funcUserLogin(@ServiceParam("param") UserLoginForm form) {
        return userBizService.funcUserLogin(form);
    }

    @Override
    public HSBCPSBackVO funcUserPasswordRest(@ServiceParam("param") UserPasswordRestForm form) {
        return userBizService.funcUserPasswordRest(form);
    }

    @Override
    public HSBCPSBackVO funcUserLogOut(@ServiceParam("param") UserLogoutForm form) {
        return userBizService.funcUserLogOut(form);
    }

    @Override
    public HSBCPSBackVO funcUserPasswordUpdate(@ServiceParam("param") UserPasswordUpdateForm form) {
        return userBizService.funcUserPasswordChange(form);
    }

    @Override
    public HSBCPSBackVO funcUserAliasNameUpdate(@ServiceParam("param") UserAliasNameForm form) {
        return userBizService.funcUserAliasNameChange(form);
    }

    @Override
    public HSBCPSBackVO funcUserHeadpicUpdate(@ServiceParam("param") UserAvatarForm form) {
        return userBizService.funcUserHeadpicChange(form);
    }

    @Override
    public UserInfoBack funcUserInfoQuery(@ServiceParam("param") UserInfoQryForm form) {
        return userBizService.funcUserInfoQuery(form);
    }

    @Override
    public UserLoginBack funcVisitorLogin(@ServiceParam("param") VisitorLoginForm form) {
        return userBizService.funcVisitorLogin(form);
    }

    @Override
    public UserLoginBack funcLoginAthorization(@ServiceParam("param") LoginAuthorizationForm form){
        return userBizService.loginAuthorization(form);
    }

    @Override
    public UserLoginBack funcXiNanLogin(@ServiceParam("param") XiNanUserLoginForm form){
        return userBizService.funcXiNanLogin(form);
    }

    @Override
    public UserLoginBack redirectLogin(@ServiceParam("param") RedirectLoginForm form) {
        return userBizService.redirectLogin(form);
    }


    public InviteInfoBack func_get_invite_info(InviteinfoForm form){
        return userBizService.func_get_invite_info(form);
    }


    public RongYunTokenBack funcRongyunToken(@ServiceParam("param") RongYunTokenQueryForm form){
        return userBizService.funcRongYunToken(form);
    }

    public HSBCPSBackVO func_user_open_app(UserOpenAppForm form){
        return userBizService.func_user_open_app(form);
    }

    @Override
    public UserBasicInfoList funcUserBasicInfoListQry(UserBasicInfoListQryForm form) {
        return userBizService.funcUserBasicInfoListQry(form);
    }
}
